package day0813;

/**
 * @Author:galaxy_yan
 * @Date: 2022/8/14
 * @Time: 10:29
 * @Description
 * 作业标题(1696)
 * 递归打印数字的每一位
 */
public class text3 {
    public static void main(String[] args) {
        print(123);
    }
    public static void print(int n){
        if(n<10){
            System.out.print(n+"  ");
            return;
        }
        print(n/10);
        System.out.print(n%10+"  ");

    }
}
